﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.WarehouseManage.OutWarehouseServer.Dto
{
    public class OutWarehouseDetailDtoPas
    {
        public int Id { get; set; }
        /// <summary>
        /// 出库单号
        /// </summary>
        public string? OutWarehouseCode { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string? ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specs { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 出库数
        /// </summary>
        public int OutWarehouseNumber { get; set; }

        /// <summary>
        /// 仓库Id
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [MaxLength(30)]
        public string? LocationName { get; set; }

        /// <summary>
        /// 库位Id
        /// </summary>
        public int Location { get; set; }
        /// <summary>
        /// 默认库位
        /// </summary>
        public int DefaultLocationId { get; set; }

        /// <summary>
        /// 默认仓库
        /// </summary>
        public int DefaultWarehouseId { get; set; }
    }
}
